home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MISC
/
MPSR-RES.OUR
Wrap
Text File
|
1992-05-01
|
1KB
|
30 lines
In article <l00fc9INN7up@muleshoe.cs.utexas.edu>, kseah@cs.utexas.edu (Kenneth
Cheng-Lim Seah) writes:
>
> I've noticed that MPW and Think C use the MPSR resource (if I remember...
> I don't have resedit handy now and I think that's the name of the resource) to
> store the Marks placed in the text file. if you have the format and can post
> it, please do so...
#define resourceType 'MPSR'
#define editMarkID 1007
struct MarkElement {
int start; // start position of mark
int end; // end position
unsigned char charCount; // number of chars in mark name
char name[1]; // first char of mark name
}; // (name is null terminated)
struct MarkRsrc {
short count; // number of marks in the resource
MarkElement mark[0]; // zero or more mark elements
};
--
Keith Rollin
Phantom Programmer
Taligent, Inc.